﻿using System;
using System.Data;
using System.Data.SqlClient;

namespace HYElectricCommon
{
	public class SqlServerHelper : Database
	{
		public static void SqlServerDatabsehelper(string ConnStr)
		{
			Database.dbCon = new SqlConnection(ConnStr);
			if (Database.dbCon.State == ConnectionState.Closed)
			{
				Database.dbCon.Open();
			}
		}
	}
}
